Change gir targets
authorFelix Krull <f_krull@gmx.de>
Fri, 24 May 2019 19:51:34 +0000 (21:51 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:54 +0000 (12:53 -0400)
rust-bindings/rust/Makefile
rust-bindings/rust/README.md

index 9bfd90197f8bdf05f368b2405ec0e2f91acba4c8..b4a8342a2a36898ce98dc219b8d3b7cb84735166 100644 (file)
@@ -1,4 +1,4 @@
-all: gir/ostree gir/ostree-sys
+all: gir
 
 .PHONY: update-gir-files remove-gir-files merge-lgpl-docs
 
@@ -8,8 +8,9 @@ target/tools/bin/gir:
        #cargo install --root target/tools --git https://github.com/gtk-rs/gir.git --rev fec179c697a03e4aa98c610f7b98fd1b0ceb9344 -- gir
        cargo install --root target/tools --git https://github.com/fkrull/gir.git --branch fixup-gconstpointer -- gir
 
-gir/%: target/tools/bin/gir
-       target/tools/bin/gir -c conf/$*.toml
+gir: target/tools/bin/gir
+       target/tools/bin/gir -c conf/ostree-sys.toml
+       target/tools/bin/gir -c conf/ostree.toml
 
 
 # -- LGPL docs generation --
index f38f10c451bb2f89f45d6c9f3c19ee100a7759c2..d0501747b4ef86a4d5f56fc81c1ad056b46846d6 100644 (file)
@@ -52,7 +52,7 @@ Most code is generated based on the gir files using the
 the included Makefile:
 
 ```ShellSession
-$ make gir/ostree gir/ostree-sys
+$ make gir
 ```
 
 Run the following command to update the bundled gir files: